package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.ConverterManagement;
import com.pureut.quality.domain.ExternalAuditPlan;
import com.pureut.quality.domain.dto.ExternalAuditPlanDto;
import com.pureut.quality.domain.vo.ExternalAuditPlanVo;
import com.pureut.quality.export.ExternalAuditPlanExport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 * 外审计划管理
 * Author:C
 * Date:2023/01/19 17:16
 * @DESC
 */
@Mapper
public interface ExternalAuditPlanMapper extends BaseMapper<ExternalAuditPlan> {

    /**
     * 查询外审计划列表
     * @param externalAuditPlanVo
     * @return
     */
    List<ExternalAuditPlanDto> listExternalAuditPlan(ExternalAuditPlanVo externalAuditPlanVo);

    /**
     * 查看外审计划
     * @param id
     * @return
     */
    ExternalAuditPlanDto getInfo(Long id);

    /**
     * 导出外审计划管理
     * @param externalAuditPlanVo
     * @return
     */
    List<ExternalAuditPlanExport> selectAuditPlanExport(ExternalAuditPlanVo externalAuditPlanVo);
}
